﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MsgreplyList.aspx.cs" Inherits="ZX.WebApp.Extend.MsgreplyList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
    html, body { margin: 0; padding: 0; background-color: #F2F8FF; }
                       
    #container { width: 100%; margin: 0 auto; font-family: Arial,Helvetica,sans-serif; font-size: 12px; }
                       
    ul, li, dt, dd { margin: 0; padding: 0; list-style-type: none; }
               
    .rule-base table.item{ border-collapse: collapse; width: 100%; }
    .rule-base table.item tr { }
    .rule-base table.item tr.alter { background-color:#E0ECFF; }
    .rule-base table.item tr th, .rule-base table.item tr td { border: 1px solid #d4dbe2; }
    .rule-base table.item tr th { font-weight: 100; width: 108px; text-align: right; vertical-align: middle; }
    .rule-base table.item tr td { padding: 5px 5px; text-indent: 5px; line-height }

    .DataDetail{}



    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <div class="rule-base">

            <asp:Repeater ID="Repeater1" runat="server">
                <HeaderTemplate>
                    <table class="item">
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <th>回复人：</th>
                        <td>
                            <%#(Eval("ChangeType").ToString()=="1")? " <span style=' color:red'>领导回复</span>": Eval("UserName").ToString() %>
                        </td>
                    </tr>
                    <tr>
                        <th>回复时间：</th>
                        <td>
                            <%#Eval("ReplyTime")%>
                        </td>
                    </tr>
                    <tr>
                        <th>回复内容：</th>
                        <td>
                            <%# Regex.Replace(Eval("Content").ToString(), @"(\r\n){2}", "\r\n").Replace("\r\n", "<br/>")%>
                        </td>
                    </tr>
                </ItemTemplate>
                <AlternatingItemTemplate>
                    <tr class='alter'>
                        <th>回复人：</th>
                        <td>
                            <%#(Eval("ChangeType").ToString()=="1")? " <span style=' color:red'>领导回复</span>": Eval("UserName").ToString() %>
                        </td>
                    </tr>
                    <tr class='alter'>
                        <th>回复时间：</th>
                        <td>
                            <%#Eval("ReplyTime")%>
                        </td>
                    </tr>
                    <tr class='alter'>
                        <th>回复内容：</th>
                        <td>
                            <%#Eval("Content").ToString().Replace("\r\n","<br/>")%>
                        </td>
                    </tr>
                </AlternatingItemTemplate>
                <FooterTemplate></table></FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
    </form>
</body>
</html>
